-
Notifications
You must be signed in to change notification settings - Fork 1.1k
GH-10058: Add SpEL JSON accessors and converter with Jackson 3 #10203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anthologia
commented
Jul 14, 2025
...egration-core/src/test/java/org/springframework/integration/json/JsonIndexAccessorTests.java
Outdated
Show resolved
Hide resolved
…ackson 3 Related to: spring-projects#10058 * Add `JsonNodePropertyAccessor` for reading JSON object properties * Add `JsonArrayNodeIndexAccessor` for array index access * Add `JsonNodeWrapperConverter` for type conversion between `JsonNodeWrapper` and `JsonNode` * Add `EmbeddedJsonMessageHeadersMessageMapper` for JSON message serialization with embedded headers * Deprecate Jackson 2 SpEL JSON accessors Signed-off-by: Jooyoung Pyoung <[email protected]>
artembilan
requested changes
Jul 14, 2025
...tion-core/src/main/java/org/springframework/integration/json/JsonArrayNodeIndexAccessor.java
Outdated
Show resolved
Hide resolved
...ration-core/src/main/java/org/springframework/integration/json/JsonNodeWrapperConverter.java
Show resolved
Hide resolved
...va/org/springframework/integration/support/json/EmbeddedJsonMessageHeadersMessageMapper.java
Outdated
Show resolved
Hide resolved
...ation-core/src/test/java/org/springframework/integration/json/AbstractJsonAccessorTests.java
Outdated
Show resolved
Hide resolved
...egration-core/src/test/java/org/springframework/integration/json/JsonIndexAccessorTests.java
Outdated
Show resolved
Hide resolved
* Adopt more intuitive naming for Jackson 3 migration * Remove deprecated classes tests Signed-off-by: Jooyoung Pyoung <[email protected]>
artembilan
requested changes
Jul 15, 2025
...ntegration-core/src/main/java/org/springframework/integration/json/JacksonIndexAccessor.java
Show resolved
Hide resolved
...on-core/src/test/java/org/springframework/integration/json/AbstractJacksonAccessorTests.java
Show resolved
Hide resolved
...src/test/java/org/springframework/integration/support/json/JacksonJsonObjectMapperTests.java
Outdated
Show resolved
Hide resolved
* Fix JavaDoc formatting and class visibility * Restore all `@author` names and copyright years from original classes Signed-off-by: Jooyoung Pyoung <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to: #10058
JsonNodePropertyAccessor
for reading JSON object propertiesJsonArrayNodeIndexAccessor
for array index accessJsonNodeWrapperConverter
for type conversion betweenJsonNodeWrapper
andJsonNode
EmbeddedJsonMessageHeadersMessageMapper
for JSON message serialization with embedded headersI've prepared changes to deprecate other Jackson 2 classes and make 3 as the project default, but this involves several changes and discussion points. (I encountered an NPE in Jackson 3 logic that maybe needs to be fixed by the Jackson team, but I've implemented a workaround in our code.)
For this reason, I've kept it separate from the current Accessor PR and will address it in the upcoming PR.